@layout("../../system/layout.html", {title: "报修记录"}){
<div class="row" xmlns:v-bind="http://www.w3.org/1999/xhtml">
    <div class="col-md-6 form-inline pull-left">
        <div class="form-group">
            <label>医院:</label>
            <select v-model="keyword1" class="form-control" \@change="load(1)">
                <option v-for="option in optionsHospital" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
            <label>解决状态:</label>
            <select v-model="keyword2" class="form-control" \@change="load(2)">
                <option v-for="option in optionsResolvingStatus" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
            <label>报修状态:</label>
            <select v-model="keyword3" class="form-control" \@change="load(3)">
                <option v-for="option in optionsRepairStatus" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
        </div>
    </div>
    <div class="col-md-6" style="padding-right: 0px">
        <div class="btn-toolbar pull-right">
            <div class="btn-group">
                <a v-if="hasPermission('project:repair:list')" class="btn btn-default" onclick="reload();"><i class="fa fa-refresh"></i>&nbsp;刷新</a>
                <a v-if="hasPermission('project:repair:save')" class="btn btn-default" \@click="save"><i class="fa fa-plus"></i>&nbsp;新增</a>
                <a v-if="hasPermission('project:repair:remove')" class="btn btn-default" \@click="remove(true)"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <table id="dataGrid" data-show-export="true"></table>
</div>
<script src="${ctxPath}/static/js/base/repair/list.js"></script>
@}